﻿<Page
    x:Class="W8AteneoLibri.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:W8AteneoLibri"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel Width="400" Margin="30,130,936,50">
            <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Margin="10,20,10,0" Text="Benvenuto in Ateneo Libri" VerticalAlignment="Top" FontFamily="Segoe UI Semibold" FontSize="32"/>
            <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Margin="10,20,10,0" Text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." VerticalAlignment="Top" FontFamily="Segoe UI Semibold" FontSize="20" />
        </StackPanel>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom"  Margin="505,0,511,468" Width="350" Height="170" >
            <Button x:Name="btnRegistration" Content="Registrati"  HorizontalAlignment="Left" Click="btnRegistration_Click">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="ms-appx:///Images/Register.png" Margin="10,0,10,0" Width="48" Height="48" />
                    </ControlTemplate>
                </Button.Template>
            </Button>
            <TextBlock Text="Registrati" FontSize="34" VerticalAlignment="Center" Foreground="White" Margin="20,0,10,0"/>
        </StackPanel>
        <Button Content="Cerca" Width="350" Height="170" Margin="935,130,0,468" />
        <Button x:Name="btnLogin" Content="Login" Width="350" Height="170" Margin="505,355,0,243" Click="btnLogin_Click" />
        <Button Content="Elenco ultimi libri inseriti" Width="350" Height="170" Margin="935,355,0,243" />
        <Image HorizontalAlignment="Left" Source="Images/LogoAteneoLibri.png" Stretch="UniformToFill" Margin="30,25,0,0" VerticalAlignment="Top" Height="105" Width="400"/>

    </Grid>
</Page>
